package com.sharefang.aproject.view;

import android.view.View;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.TextView;

import com.jcodecraeer.xrecyclerview.XRecyclerView;
import com.sharefang.aproject.R;

import de.hdodenhof.circleimageview.CircleImageView;


public class MyViewHolder extends XRecyclerView.ViewHolder {
    public ImageView iv_ppt;
    public TextView tv_name, tv_time, tv_author, tv_playTime, tv_length;

    public CircleImageView civ_header;
    public TextView tv_description, tv_nppName, tv_nppDescription, tv_share, tv_pinglun, tv_like;
    public ImageButton ib_moreAction;

    public MyViewHolder(View itemView) {
        super(itemView);
        iv_ppt = (ImageView) itemView.findViewById(R.id.iv_ppt);
        tv_name = (TextView) itemView.findViewById(R.id.tv_name);
        tv_time = (TextView) itemView.findViewById(R.id.tv_time);
        tv_author = (TextView) itemView.findViewById(R.id.tv_author);
        tv_playTime = (TextView) itemView.findViewById(R.id.tv_playTime);
        tv_length = (TextView) itemView.findViewById(R.id.tv_length);

        civ_header = (CircleImageView) itemView.findViewById(R.id.civ_header);
        tv_description = (TextView) itemView.findViewById(R.id.tv_description);
        tv_nppName = (TextView) itemView.findViewById(R.id.tv_nppName);
        tv_nppDescription = (TextView) itemView.findViewById(R.id.tv_nppDescription);
        tv_share = (TextView) itemView.findViewById(R.id.tv_share);
        tv_pinglun = (TextView) itemView.findViewById(R.id.tv_pinglun);
        tv_like = (TextView) itemView.findViewById(R.id.tv_like);
        ib_moreAction = (ImageButton) itemView.findViewById(R.id.ib_moreAction);
    }
}